﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Service.BaseObjects" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Service.BaseObjects" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Business" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Service" />
  <xs:complexType name="DiscussionGroupResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="BugTracking" type="xs:boolean" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Business" minOccurs="0" name="GroupType" type="q1:DiscussionGroupType" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="IsLocked" type="xs:boolean" />
      <xs:element minOccurs="0" name="Language" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Private" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DiscussionGroupResult" nillable="true" type="tns:DiscussionGroupResult" />
  <xs:complexType name="DiscussionResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="ContainsSource" type="xs:boolean" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Service" minOccurs="0" name="CreatedBy" nillable="true" type="q2:UserDataResult" />
      <xs:element minOccurs="0" name="CreatedOn" type="xs:dateTime" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Business" minOccurs="0" name="DiscussionBehavior" type="q3:DiscussionBehavior" />
      <xs:element minOccurs="0" name="DiscussionGroupId" type="ser:guid" />
      <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Business" minOccurs="0" name="DiscussionType" type="q4:DiscussionType" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="IsLocked" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsSticky" type="xs:boolean" />
      <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Service" minOccurs="0" name="RootMessage" nillable="true" type="q5:MessageResult" />
      <xs:element minOccurs="0" name="StickyDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Topic" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DiscussionResult" nillable="true" type="tns:DiscussionResult" />
</xs:schema>